﻿'   ScaledLayoutHelper.vb
'   WireBear Awesemulator
'
'   Created by Chris Kent
'   Copyright 2011 WireBear. All rights reserved
'
#Region "License Information"
'   WireBear Awesemulator is free software: you can redistribute it and/or modify
'   it under the terms of the GNU General Public License as published by
'   the Free Software Foundation, either version 3 of the License, or
'   (at your option) any later version.
'
'   WireBear Awesemulator is distributed in the hope that it will be useful,
'   but WITHOUT ANY WARRANTY; without even the implied warranty of
'   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
'   GNU General Public License for more details.
'
'   You should have received a copy of the GNU General Public License
'   along with WireBear Awesemulator - License.txt
'   If not, see <http://www.gnu.org/licenses/>.
#End Region


Public Class ScaledLayoutHelper

    Public Sub New()

    End Sub

    Public Sub New(ByVal x As Double, ByVal y As Double, ByVal w As Double, ByVal h As Double)
        _offsetX = x
        _offsetY = y
        _offsetWidth = w
        _offsetHeight = h
    End Sub

    Private _offsetX As Double = 0
    Public ReadOnly Property OffsetX() As Double
        Get
            Return _offsetX
        End Get
    End Property

    Private _offsetY As Double = 0
    Public ReadOnly Property OffsetY() As Double
        Get
            Return _offsetY
        End Get
    End Property

    Private _offsetWidth As Double = 0
    Public ReadOnly Property OffsetWidth() As Double
        Get
            Return _offsetWidth
        End Get
    End Property

    Private _offsetHeight As Double = 0
    Public ReadOnly Property OffsetHeight() As Double
        Get
            Return _offsetHeight
        End Get
    End Property


End Class
